package exam.wzb.jsp.dao;

import exam.wzb.jsp.model.Book;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BookDao {
    List<Book> findBooks(String name);
    void deleteBook(Integer id);
    List<Book> findBooksByPage(@Param("offset") int offset, @Param("limit") int limit);
}
